/*
 * @Author: your name
 * @Date: 2021-11-29 15:22:34
 * @LastEditTime: 2021-11-30 20:35:42
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\usercenter\usercenter.module.ts
 */
import { NgModule } from '@angular/core';
import { DynamicSettingModule, SharedModule } from '@shared';
import { UserCenterComponentsDriverCaptainComponent } from './components/driver/captain/captain.component';
import { UserCenterComponentsDriverDetailComponent } from './components/driver/detail/detail.component';
import { UserCenterComponentsDriverComponent } from './components/driver/driver.component';
import { FreightComponentsEnterpriseAuditComponent } from './components/freight/enterprise-audit/enterprise-audit.component';
import { FreightComponentsListDetailComponent } from './components/freight/list/detail/detail.component';
import { FreightComponentsListComponent } from './components/freight/list/list.component';
import { FreightComponentsListNewComponent } from './components/freight/list/new/new.component';
import { FreightComponentsUserDetailComponent } from './components/freight/user/detail/detail.component';
import { FreightComponentsUserComponent } from './components/freight/user/user.component';
import { UsercenterRoutingModule } from './usercenter-routing.module';
import { AuditAdminComponent } from './components/freight/enterprise-audit/audit-admin/audit-admin.component';
import { CaptainDetailComponent } from './components/driver/captain/captain-detail/captain-detail.component';
import { CarSettleAddDriverComponent } from './components/driver/add-driver/add-driver.component';
import { CtcCaptatinAddComponent } from './components/driver/captain/add/add.component';
import { FreightConfigComponent } from './components/freight/freight-config/freight-config.component';
import { UserCenterComponentsDriverConfigComponent } from './components/driver/driver-config/driver-config.component';
import { ShowServiceComponent } from './components/freight/list/showService/showservice.component';
import { EditPartnerComponentsAddComponent } from './components/freight/list/editPartner/editPartner.component';
import { EditSaleComponentsAddComponent } from './components/freight/list/editSale/editSale.component';

const COMPONENTS = [
  FreightComponentsListComponent,
  // FreightComponentsListViewComponent,
  FreightComponentsListNewComponent,
  FreightComponentsListDetailComponent,
  FreightComponentsEnterpriseAuditComponent,
  // FreightComponentsEnterpriseAuditViewComponent,
  FreightComponentsUserComponent,
  FreightComponentsUserDetailComponent,
  UserCenterComponentsDriverComponent,
  UserCenterComponentsDriverDetailComponent,
  UserCenterComponentsDriverCaptainComponent,
  CaptainDetailComponent,
  AuditAdminComponent,
  CarSettleAddDriverComponent,
  CtcCaptatinAddComponent,
  FreightConfigComponent,
  UserCenterComponentsDriverConfigComponent
];
const COMPONENTS_NOROUNT = [ShowServiceComponent, EditPartnerComponentsAddComponent, EditSaleComponentsAddComponent];

@NgModule({
  imports: [SharedModule, UsercenterRoutingModule, DynamicSettingModule],
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT]
})
export class UsercenterModule {}
